//@import "tailwindcss";
:deep(.el-scrollbar){
  overflow: clip;
}
.selfStyle{
    //background-color: red;
    //.el-scrollbar__wrap{
    //  //overflow: clip;
    //  background-color: red;
    //}
    //.el-scrollbar{
    //  //overflow: clip;
    //}
}
.default-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  .el-menu{
    flex: 1;
  }
}
.menu__logo {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  border-bottom: 1px solid #e7e7e7;
  .side-nav-logo-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
  }
  .side-nav-logo-logo {
    padding: 0 24px;
    height: 32px;
    width: 100%;
    color: rgba(0, 0, 0, 0.9);
  }
}

.menu__operations {
  width: 100%;
  position: relative;
  padding: 8px 16px;
  bottom: 0px;
  left: 0;
  text-align: left;
  border-top: solid 1px #e7e7e7;
  box-sizing: border-box;
}
.box-header {
  display: flex;
  align-items: center; /* 上下居中 */
  position: relative;
  width: 100%;
  .image {
    border-radius: 6px;
  }
  .text {
    margin-left: 20px;
  }
}

.filter-content {
  font-size: 14px;
  display: flex;
  margin-top: 10px;
  //margin-left: 10px;
  margin-bottom: 10px;
  .filter-item {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 15px;
    .label {
      font-size: 14px;
      width:40px;
      color: rgba(46, 67, 105, .85);
      font-weight: 600;
    }
    .label-content {
      display: flex;
      gap: 16px;
      align-items: center;
    }
    .label-opt-item {
      float: right;
    }
  }
  .line {
    width: 100%;
    height: 1px;
    margin: 20px 0;
    background-color: #e7eaf3;
  }
}

.login {
  position: absolute;
  top: 0;
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  .login-box {
    overflow: hidden;
    width: 430px;
    padding: 0;
    background: #fff;
    margin-bottom: 80px;
  }
  .head {
    background: #ccccff;
    img {
      display: block;
      width: 430px;
      margin: 0 auto;
      user-select: none;
    }
  }
  .form {
    position: relative;
    .profile-avatar {
      display: block;
      position: absolute;
      height: 100px;
      width: 100px;
      border-radius: 50%;
      border: 4px solid var(--ba-bg-color-overlay);
      top: -50px;
      right: calc(50% - 50px);
      z-index: 2;
      user-select: none;
    }
    .content {
      padding: 100px 40px 40px 40px;
    }
    .submit-button {
      width: 100%;
      letter-spacing: 2px;
      font-weight: 300;
      margin-top: 15px;
      --el-button-bg-color: var(--el-color-primary);
    }
  }
}

@media screen and (max-width: 720px) {
  .login {
    display: flex;
    align-items: center;
    justify-content: center;
    .login-box {
      width: 340px;
      margin-top: 0;
    }
  }
}

@media screen and (max-height: 800px) {
  .login .login-box {
    margin-bottom: 0;
  }
}

.text-convert-img {
  .content-img {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ebeef5;
    border-radius: 6px;
    box-sizing: content-box !important;
  }
  .content-text {
    border-radius: 6px;
    background-color: #00AA9E;
  }
}
.table-pagination {
  //margin-top: 20px;
  .el-pagination {
    justify-content: flex-end;
  }
}
/* 容器样式 */
.table-opt-container {
  width: 100%; /* 确保占满父容器宽度 */
  padding: 8px 0; /* 上下留白 */
}

/* 分割线样式 */
.divider {
  height: 1px;
  background-color: #e5e7eb; /* 浅灰色分割线，可根据主题调整 */
  margin-bottom: 8px; /* 分割线与按钮的间距 */
}

/* 按钮容器 - 实现均匀分布 */
.table-opt {
  margin-top: 20px;
  display: flex; /* 启用弹性布局 */
  //justify-content: space-around; /* 均匀分布按钮 */
  //align-items: center; /* 垂直居中 */
  width: 100%; /* 占满容器宽度，确保均匀分布生效 */
}

/* 按钮样式调整 */
.table-opt .opt-item {
  margin-right: 20px; /* 移除原有margin，避免影响分布 */
}

/* 蓝色按钮样式 */
.blue-btn {
  color: #165DFF; /*  Element Plus 主题蓝色，可自定义 */
  transition: color 0.2s; /* hover过渡效果 */
}

.blue-btn:hover {
  color: #0E42D2; /* hover时加深颜色 */
}

/* 图标大小保持不变 */
.table-opt .el-icon {
  font-size: 20px;
}


.mc-container {
   .mc-container-header {
     font-size: 26px;
     font-weight: bold;
     color: #191919;
     line-height: 32px;
     flex: 1;
     white-space: nowrap;
   }
}

.label-container {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  font-size: 14px;
  .label-left {
    flex-basis: 50%;
    text-align: right;
    padding-right: 10px;
    color: rgb(134, 137, 140);
  }
  .basis-0 {
    flex-basis: 0;
  }
  .label-right {
    flex-basis: 50%;
  }
  .label-left{
    white-space: nowrap;
  }
}
.info-data {
  display: flex;
  align-content: center;
  justify-content: space-around;
  margin-top: 20px;
  border-top: 1px solid #e5e5e5;
  padding-top: 28px;
  padding-bottom: 4px;
  grid-gap: 20px;
  flex-wrap: wrap;
  .d-item {
    text-align: center;
    padding: 0 10px;
    min-width: 150px;
    h3 {
      font-size: 14px;
      color: #666666;
      line-height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: nowrap;
    }
    p {
      margin-top: 7px;
      font-size: 20px;
      font-weight: 600;
      color: #191919;
      line-height: 28px;
      white-space: nowrap;
    }
  }
}
.chart-top {
  display: flex;
  align-items: center;
  grid-gap: 20px 80px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
  .info-data {
    border-top: none;
    padding-top: 0;
  }
  .data-ctrl {
    display: flex;
    align-items: center;
    margin-right: 42px;
    grid-gap: 1px 8px;
  }
}
.products-box {
  display: block;
  width: 100%;
  overflow: hidden;
  .products-list {
    //min-height:1000px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start; /* 从左侧开始排列，更符合从左到右的视觉逻辑 */
    grid-gap: 30px 36px;
    .product-item {
      position: relative;
      width: 150px;
    }
    .product-name {
      font-weight: bold;
      font-size: 14px; /* 缩小字体 */
      line-height: 1.3;
      height: 2.6em; /* 2行高度（1.3*2） */
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      margin-bottom: 6px; /* 缩小与信息区间距 */
    }
    .product-info {
      margin-top: 14px;
      font-size: 13px;
      p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        .price {
          font-size: 14px;
          font-weight: 800;
          color: #ff8000;
          line-height: 14px;
        }
      }
      p + p {
        margin-top: 6px;
      }
    }
    .product-item-img {
      position: relative;
      height: 160px;
      //border-radius: 6px;
      //border: 1px solid #d5d5d5;
      overflow: hidden;
      .img-slide-wrap {
        height: 214px;
        .img {
          height: 100%;
          width: 100%;
        }
      }
    }
  }
}
.img-slide-wrap {
  position: relative;
  width: 100%;
  height: 312px;
  .img-slide {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    overflow: hidden;
    padding: 9px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(195 195 195 / 50%);
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 10;
    .img-slide-left {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      height: 100%;
      color: #ccc;
    }
    .img-slide-left.active {
      color: var(--el-color-primary);;
    }
    .img-wrap {
      flex: 1;
      overflow: hidden;
      .img-box {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        transition: all 0.3s;
        .img {
          flex-shrink: 0;
          width: calc(33.3333% - 4px);
          height: 45px;
          border-radius: 4px;
          border: 2px solid rgba(0, 0, 0, 0);
          cursor: pointer;
          box-sizing: border-box;
        }
        .img-active {
          border: 2px solid var(--el-color-primary);
        }
      }
    }
    .img-slide-right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      height: 100%;
      color: #ccc;
    }
    .img-slide-right.active {
      color: var(--el-color-primary);;
    }
  }
}

.layout-prompt {
  position: fixed;
  z-index: 5;
  right: 40px;
  bottom: 40px;
  .layout-prompt-circle {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #409eff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .12);
    cursor: pointer;
  }
}

.search-input-width {
    width: 150px;
}

.el-menu{
  padding-left: 20px;
  padding-right: 20px;
}
.el-menu-item{
  height: 48px !important;
  font-size: 16px;
  padding-left: 10px !important;
  line-height: 45px;
  //padding-left: 20px;
  //padding-right: 20px;
}
.el-sub-menu{
  border: 0px !important;
  line-height: 45px;
  .el-menu--inline{
    padding-right: 0px !important;
  }
}
.v-menu__title{
  height: 48px !important;
  font-size: 16px;
  line-height: 45px;
}
.el-sub-menu__title{
  padding-left: 10px !important;
}

.el-menu{
  .is-active{
    border-left: 5px solid;
    border-radius: 5px;
  }
}
.el-menu--inline{
  .el-menu-item{
    margin-left: 10px;
    padding: 8px !important;
  }
}
.is-opened{
  border-left: 0px !important;
}

/* 椭圆形输入框样式 */
.elliptical-input {
  --input-height: 34px; /* 输入框高度 */
}

/* 针对输入框容器设置样式 */
.elliptical-input .el-input__wrapper {
  border-radius: 50px; /* 关键：设置大圆角使其成为椭圆形 */
  height: var(--input-height);
  padding: 0 20px; /* 调整内边距 */
}

/* 针对输入框本身设置样式（确保圆角生效） */
.elliptical-input .el-input__inner {
  border-radius: 50px; /* 与容器保持一致的圆角 */
  height: 100%;
  line-height: var(--input-height);
}

.elliptical-select {
  --select-height: 34px; /* 控制选择器高度 */
}

/* 选择器容器样式 */
.elliptical-select .el-select__wrapper {
  border-radius: 50px; /* 关键：大圆角实现椭圆形 */
  height: var(--select-height);
  padding: 0 15px; /* 调整内边距，避免内容太靠边 */
}

/* 选择器输入区域样式 */
.elliptical-select .el-select__input {
  height: var(--select-height);
  line-height: var(--select-height);
}

/* 下拉箭头图标位置调整 */
.elliptical-select .el-select__icon {
  right: 15px; /* 与内边距保持一致 */
}

/* 清空按钮样式调整（确保在椭圆形内显示） */
.elliptical-select .el-select__clear {
  right: 40px; /* 避开下拉箭头 */
  border-radius: 50%; /* 清空按钮也做成圆形 */
}

/* 聚焦状态样式保持椭圆形 */
.elliptical-select .el-select__wrapper.is-focus {
  border-radius: 50px;
}

/* 禁用状态样式保持椭圆形 */
.elliptical-select .el-select__wrapper.is-disabled {
  border-radius: 50px;
}

/* 第二种表头样式 - 浅灰色背景 */
.custom-header-table-2 {
  --header-bg-color: #E6EBEE;
  --header-text-color: #303133;
  --header-border-color: #e4e7ed;
}

.custom-header-table-2 th.el-table__cell {
  background-color: #E6EBEE !important;
  color: var(--header-text-color) !important;
  border-bottom: 1px solid var(--header-border-color) !important;
}

.content-wrapper {
  padding-bottom: 20px;
}